package com.example.micro.es.api.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * @author Code Farmer
 * @create 2020/11/12 1:29 上午
 */
@Mapper
public interface DeviceExpandMapper {

    @Update({"update device set count = count+1 where business = #{business} and city = #{city}"})
    int updateCount(String business,String city);

}
